package com.xpsoft.oa.model.produce;


import com.google.gson.annotations.Expose;

/**
 * MaterialDumpingInfo Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class MaterialDumpingInfo extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected MaterialDumping materialDumping;
	@Expose
	protected Material material;
	@Expose
	protected String detail;
	@Expose
	protected String dealType;
	@Expose
	protected String dealReason;
	@Expose
	protected String unit;
	@Expose
	protected Integer num;
	@Expose
	protected java.math.BigDecimal preUintPrice;
	@Expose
	protected java.math.BigDecimal preTotal;
	@Expose
	protected String remark;


	/**
	 * Default Empty Constructor for class MaterialDumpingInfo
	 */
	public MaterialDumpingInfo () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class MaterialDumpingInfo
	 */
	public MaterialDumpingInfo (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public MaterialDumping getMaterialDumping() {
		return materialDumping;
	}

	public void setMaterialDumping(MaterialDumping materialDumping) {
		this.materialDumping = materialDumping;
	}

	public Material getMaterial() {
		return material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	/**
	 * 详细描述	 * @return String
	 * @hibernate.property column="detail" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getDetail() {
		return this.detail;
	}
	
	/**
	 * Set the detail
	 */	
	public void setDetail(String aValue) {
		this.detail = aValue;
	}	

	/**
	 * 处理方式	 * @return String
	 * @hibernate.property column="dealType" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getDealType() {
		return this.dealType;
	}
	
	/**
	 * Set the dealType
	 */	
	public void setDealType(String aValue) {
		this.dealType = aValue;
	}	

	/**
	 * 处理原因	 * @return String
	 * @hibernate.property column="dealReason" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getDealReason() {
		return this.dealReason;
	}
	
	/**
	 * Set the dealReason
	 */	
	public void setDealReason(String aValue) {
		this.dealReason = aValue;
	}	

	/**
	 * 单位	 * @return String
	 * @hibernate.property column="unit" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getUnit() {
		return this.unit;
	}
	
	/**
	 * Set the unit
	 */	
	public void setUnit(String aValue) {
		this.unit = aValue;
	}	

	/**
	 * 数量	 * @return Integer
	 * @hibernate.property column="num" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public Integer getNum() {
		return this.num;
	}
	
	/**
	 * Set the num
	 */	
	public void setNum(Integer aValue) {
		this.num = aValue;
	}	

	/**
	 * 单价估算	 * @return java.math.BigDecimal
	 * @hibernate.property column="preUintPrice" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getPreUintPrice() {
		return this.preUintPrice;
	}
	
	/**
	 * Set the preUintPrice
	 */	
	public void setPreUintPrice(java.math.BigDecimal aValue) {
		this.preUintPrice = aValue;
	}	

	/**
	 * 合价估价	 * @return java.math.BigDecimal
	 * @hibernate.property column="preTotal" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getPreTotal() {
		return this.preTotal;
	}
	
	/**
	 * Set the preTotal
	 */	
	public void setPreTotal(java.math.BigDecimal aValue) {
		this.preTotal = aValue;
	}	

	/**
	 * 备注	 * @return String
	 * @hibernate.property column="remark" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getRemark() {
		return this.remark;
	}
	
	/**
	 * Set the remark
	 */	
	public void setRemark(String aValue) {
		this.remark = aValue;
	}	

}
